Skip to content

Add syncing sysvol with osync#24

Open
rbapin wants to merge 2 commits into
altlinuxteam:masterfrom
rbapin:osync
Open

Add syncing sysvol with osync#24
rbapin wants to merge 2 commits into
altlinuxteam:masterfrom
rbapin:osync

Conversation

@rbapin

@rbapin rbapin commented Feb 25, 2020

Copy link
Copy Markdown

Добавлена таска для установки и настройки синхронизации sysvol.
Запускается из main.yml, если параметр samba_sysvol_sync установлен в true

Comment thread templates/osync.conf Outdated
Comment thread templates/osync.conf Outdated

@gochankot gochankot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have questions to "templates/osync.conf"

@gochankot

gochankot commented Feb 27, 2020

Copy link
Copy Markdown

From the discussion in the office: to guarantee the same state of dc0 and other domain controllers, it takes 2 osync passes (which runs crond once in samba_sysvol_sync_timeout minutes, and if it = 5, then we get a wait of at least 10 minutes after starting).

Из обсуждения в офисе: для гарантировано одинакового состояния dc0 и других контролеров домена, требуется ожидание 2 проходов osync (который запускается crond раз в samba_sysvol_sync_timeout минут, и если он = 5, то получаем ожидание минимум 10 минут после запуска).

@gochankot gochankot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

По отношению к https://github.com/altlinuxteam/ansible-samba/pull/4/files изменения - это отсутствие Vagrantfile и параметров в provision.yml (нет запуска для в template по умолчанию) запуск systemd units crond

@ghost

ghost commented Mar 2, 2020

Copy link
Copy Markdown

I suggest to finish the task "AS IS" if it is working because we may cause scope creep. We may plan osync improvements for the future releases.

@gochankot

Copy link
Copy Markdown

@mastersin accept pull request?

@omgbebebe

Copy link
Copy Markdown
Contributor

JFYI, As I can remember there were some issues with an initial data synchronization via osync among controllers. In some cases an actual data can be deleted on dc0 due an unexistance same data on rest of controllers. Such behaviour has prevented to merge previous PR and needs to be more investigated. I strongly recommends to start with rsync for purposes of SysVol replication and move to use the osync only in case of lack of functionality from rsync side.

@rbapin

rbapin commented Mar 3, 2020

Copy link
Copy Markdown
Author

osync_v1.2.pdf
Документация по osync от автора

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants